{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="id" value="{$data.id}">

    <div class="layui-form-item">
        <label class="layui-form-label">助力人数</label>
        <div class="layui-input-block">
            <input type="text" name="pin_num" value="{$data.pin_num}" lay-verify="required|number" autocomplete="off" placeholder="助力人数"
                   class="layui-input">
        </div>
    </div>

<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">拼团时间(分钟)</label>-->
<!--        <div class="layui-input-block">-->
<!--            <input type="text" name="pin_time" value="{$data.pin_time}" lay-verify="required|number" autocomplete="off" placeholder="拼团时间"-->
<!--                   class="layui-input">-->
<!--        </div>-->
<!--    </div>-->


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use('yznForm', function () {
        var yznForm = layui.yznForm;
        yznForm.bindevent($("form.layui-form"));
    });
</script>
{/block}